[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-27 Thread Wolfgang Schuster
he sidenote instance to example \incrementcounter[example]% increment the example/sidenote counter \convertedcounter[example]% print the example/sidenote counter \stop % change the number format of the example/sidenote counter \setupsidenote[example][numberconversion=romannumerals] \start \def\cur

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
, but it's been the way to the solution. Thank you again, Massi Il 12/01/24 12:02, Wolfgang Schuster ha scritto: mf schrieb am 12.01.2024 um 10:18: Hello list, how do I convert the realpage number to a page number? Suppose you have a document with a frontmatter of 20 pages in rom

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
the twenty-second is '2'. How do I get 'XII' from 12 and '2' from 22? \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \setuppagenumber   [way=byblock] % Alternative method for "way=byblock" when you have an appendix where % the pagenumber of the bodypart continues rather

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
% %%% \definesectionblock[portada][number=no] \defineconversionset [portada:pagenumber][][characters] \defineconversionset [frontpart:pagenumber][][romannumerals] \defineconversionset [bodypart:pagenumber][][numbers] \defineconversionset [appendixpart:pagenumber][][Characters

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Hans Hagen via ntg-context
roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals] \starttext \setupheadnumber[section] [-1

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals] \starttext \setupheadnumber[section] [-1] \startsection[title={Section zero}]\stopsection \startsection[title={Section one}]\stopsection \stoptext ### Thank you

[NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
Hello, I'd like to have roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals] \starttext

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
, frame=none, width=broad, height=fit, align=middle]{#1.\\#2}} \setuphead[section][ conversion=Romannumerals, style={\bf\kerncharacters[0.075]\WORDS}, align=middle, command=\MySection, ] ### Thanks! Le 15/02/23 à 19:11, Rik Kabel via ntg-context a écrit

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
=no,     conversion=Romannumerals,     style={\bf\WORDS},     align=middle,     command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext Have you tried it with \framedtext in the place of \framed ? -- Rik

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
, align=middle ]{{#1.\\#2}}} \setuphead[section][ strut=no, conversion=Romannumerals, style={\bf\WORDS}, align=middle, command=\MySection, ] \starttext \startsection[title={First section}] this is the text \stopsection \stoptext

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
picture cg; > cg := outlinetext.d > ("\ssbfd \headnumber[chapter]") > (withcolor transparent(1,0.5,blue)); > fill boundingcircle cg withcolor transparent(1, 0.5, lightgray); > draw cg; > \stopuseMPgra

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread śrīrāma via ntg-context
) (withcolor transparent(1,0.5,blue)); fill boundingcircle cg withcolor transparent(1, 0.5, lightgray); draw cg; \stopuseMPgraphic Using \headnumber[..][..] any 'conversion' applied to the chapter number (romannumerals, wor

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
contentbox\hss)}} > % \protected\def\RightNumber{\hbox to > \localboxesparameter{width}{\strut(\hss\box\localboxcontentbox)}} > > % using the provided line number: > > % \def\LineNumberL{\the\localboxlinenumber} > % \def\LineNumberR{\the\localboxlinenumber} > > % using a

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
] \definecounter[MyLineNumberR] \setupcounter[MyLineNumberL][numberconversion=characters] \setupcounter[MyLineNumberR][numberconversion=romannumerals] \def\LineNumberL{\incrementcounter[MyLineNumberL]\convertedcounter[MyLineNumberL]} \def\LineNumberR{\incrementcounter[MyLineNumberR]\convertedcounter

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
\stopalignment\stop}] \define[1]\SectionPrequote{\startSectionLHSPage #1\stopSectionLHSPage} %%% %%% part is managed here %%% \defineconversionset [part] [Romannumerals] [numbers] \setuplabeltext[en][partlabel=Part~] \setuphead [part] [sectionsegments=part, bodypartlabel=partlabel

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
,2mm) withpen pensquare scaled 1.5mm ; >draw (0,0)--(TextWidth,0) withpen pensquare scaled 1.0mm ; >clip currentpicture to unitsquare yscaled 1cm xscaled TextWidth > \stopMPcode > \stopsetups > > \define[2]\placePartTitle{\midaligned{#2}} > %% The above line is w

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
MPcode \stopsetups \define[2]\placePartTitle{\midaligned{#2}} %% The above line is what I use. You want Roman numerals so maybe adapt it to: %% \define[2]\placePartTitle{\midaligned{\convertnumber[Romannumerals][#1] #2}} \definehead [Part] [part] \setuphead[Part] [ page=right, placehe

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
to number with Roman numerals? See below. % Change the number conversion for section titles \defineconversionset [section] [Romannumerals] [numbers] \setuphead   [sectionconversionset=section] % Show only the chapter value for chapter \setuphead   [chapter]   [sectionsegments=chapter] % Don't

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Wolfgang Schuster via ntg-context
the footer) to roman numbers? Hi Sylvain, copied from https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pagecon

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Pablo Rodriguez via ntg-context
lvain, copied from https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startsectionb

Re: [NTG-context] Different footers for frontmatter and bodymatter

2021-08-18 Thread Rik Kabel via ntg-context
footer and the pagenumber is on the right. I can switch between roman numerals and numbers with ``` \defineconversionset   [frontpart:pagenumber]   []   [romannumerals] \defineconversionset   [bodypart:pagenumber]   []   [numbers] ``` but I can't figure out how to have two different footer

[NTG-context] Different footers for frontmatter and bodymatter

2021-08-18 Thread noib3 via ntg-context
switch between roman numerals and numbers with ``` \defineconversionset [frontpart:pagenumber] [] [romannumerals] \defineconversionset [bodypart:pagenumber] [] [numbers] ``` but I can't figure out how to have two different footer setups. Right now I have ``` \setupfootertexts [chapter

Re: [NTG-context] Lua code and table

2021-02-19 Thread Hans Hagen
.MyTable { action = function(value) context(value == "X" and 1 or 0) end, conversion = "Greek", pattern = { ".XXX..XX", "X...XXX.", "X..X.XXX", "X.X.X..X&qu

Re: [NTG-context] Lua code and table

2021-02-18 Thread Fabrice Couvreur
ot;.X.X.XX.", > ".XX.X...", > "XXX.X...", > "X.XX" > } > } > \stopluacode > > \startluacode > document.MyTable { > action = function(value) > context(value == &

Re: [NTG-context] Lua code and table

2021-02-18 Thread Hans Hagen
end, conversion = "Greek", pattern = { ".XXX..XX", "X...XXX.", "X..X.XXX", "X.X.X..X", } } \stopluacode \startluacode document.MyTable { action =

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
\setuplist[subject, section, subsection] \setupcombinedlist[content][list={subject,section,subsection}, alternative=c] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \page \subject{Vorwort} \page \setupuserpagenumber[numberconversion=numbers] \setcounter

Re: [NTG-context] Display reference number as Roman number

2021-01-06 Thread Rik Kabel
it. However, I want to display it in one instance as a Roman numeral. \Romannumerals{\in[label]} complains that it is not being fed a number. How can I display the label number in Roman number format in this one instance? -- Rik Okay, I have something that works. Perhaps not optimally

[NTG-context] Display reference number as Roman number

2020-11-24 Thread Rik Kabel
it in one instance as a Roman numeral. *\**Romannumerals{\in[label]}* complains that it is not being fed a number. How can I display the label number in Roman number format in this one instance? -- Rik ___ If your

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
ttp://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>? \defineconversionset [bodypart:pagenumber] [] [Romannumerals] \startsetups [footer]      \starttabulate[|l|c|c|]      \NC \bf Command          \NC \bf Current page \NC \bf Last page    \NC\NR      \NC \tex{pagenumb

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
> Btw, do you know whether there is any difference between \lastpagenumber > > and \lastuserpagenumber mentioned both by Wolfgang and by the excursion > > book <http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>? > > \defineconversionset [bodypart:pagenumber] [] [Rom

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
neconversionset [bodypart:pagenumber] [] [Romannumerals] \startsetups [footer] \starttabulate[|l|c|c|] \NC \bf Command \NC \bf Current page \NC \bf Last page \NC\NR \NC \tex{pagenumber} \NC \pagenumber \NC \lastpagenumber \NC\NR \NC \tex{userpagenumber} \NC \user

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
end product  begin environment\startenvironment env-WA \setuppagenumbering   [alternative=doublesided, location=right]   \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \setupexternalfigures   [directory={External PDF}] \startsectionblockenvironment [frontpart]    \setu

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
[alternative=doublesided, location=right] \defineconversionset [frontpart:pagenumber] [] [romannumerals] \setupexternalfigures [directory={External PDF}] \startsectionblockenvironment [frontpart] \setupbackgrounds [leftpage] [setups=pagenumber:left] \setupbackgrounds

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
esided,  location=right]    % Pagenumbering style\definestructureconversionset    [frontpart:pagenumber][][romannumerals]\definestructureconversionset    [bodypart:pagenumber] [][n

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
chapter on right (odd) page, pagenumber = bottom right \setuppagenumbering [alternative=doublesided,  location=right] % Pagenumbering style \definestructureconversionset [frontpart:pagenumber][][romannumerals] \definestructureconversionset [bodypart:pagenumber] [][numbers

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
]    % Pagenumbering style\definestructureconversionset    [frontpart:pagenumber][][romannumerals]\definestructureconversionset    [bodypart:pagenumber] [][numbers]\definestructureconversionset    [appendix:pagenumber] [][numbers]=   The fm-frontpage.tex file

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread Wolfgang Schuster
not know why this is happening. My setup for page numbering is as follows (something I found somewhere - wiki? elsewhere? Not sure. I didn't make it up!): \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers

[NTG-context] \setupuserpagenumber not working as expected

2020-09-02 Thread jbf
for page numbering is as follows (something I found somewhere - wiki? elsewhere? Not sure. I didn't make it up!): \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \startsectionblockenvironment[frontpart

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Adrian
s > >    6. Conversion > >    7. Fundamental theorems on well-formed formulas and on the normal form > > I tried to the following for the chapters: > > \defineconversion[church][Chapter \Romannumerals.\quad] > > \setuphead[chapter][conversion=church] > > Whic

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
the normal form I tried to the following for the chapters: \defineconversion[church][Chapter \Romannumerals.\quad] \setuphead[chapter][conversion=church] Which appeared to generate the prefix correctly but it overlapped the title. \setuplabeltext [en] [chapter=Chapter ] \defineresetset

[NTG-context] TOC chapter and section numbering

2020-08-18 Thread Adrian
on Chapter II. Lambda Conversion . 5. Primitive symbols and formulas 6. Conversion 7. Fundamental theorems on well-formed formulas and on the normal form I tried to the following for the chapters: \defineconversion[church][Chapter \Romannumerals.\quad] \setuphead[chapter][conversion=chur

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
, conversion=Romannumerals, numbercommand=\groupedcommand{\blank[20mm]}{\blank[10mm]}, after={\blank[3cm]}, ] \setupheadtext[content=] \setupheadertexts[] \setupheadertexts[\setups{text a}][][][\setups{text b}] \startsetups[text a] \rlap{whatever} \hfill \getmarking[chapter] \hfill

[NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Willi Egger
} \stopsection% } \stopsetups \starttext \startsection[title=Ward] \setuppagenumbering[conversion=romannumerals] \input ward \stopmysection \startsection[title=Knuth

[NTG-context] using annotations for extended print handling

2020-06-14 Thread Pablo Rodriguez
ld be passed automatically to a \filterpages command. A sample that generates something similar: \setuppapersize[A8] \setupinteraction[state=start] \starttext \dorecurse{5}{\part{\romannumerals{\recurselevel}} \dorecurse{15}{\chapter{\recurselevel} \comment [title=whatever,

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
number i instead of ii. It seems to have something to do > > with the use of makeup. I was using it to create a vertically centered > > title page. Is there a better way of doing this which will give the > > correct page numbers? > > > > Best, > > > > Jack

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster
of doing this which will give the correct page numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \definemakeup[titlepage][align=middle,pagestate=start

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontmatter

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
[frontpart:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart] \setcounter [userpage] [1] \stopsectionblockenvironment \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text right] \rlap{} \hfill \sc \getmarking

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[frontpart:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart] \setcounter [userpage] [1] \stopsectionblockenvironment \setuppagenumbering[location=,alternative=doublesided] \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text right] \rlap{} \hfill \sc \getmarking

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
al lly = paperheight + topoffset - height local urx = width - leftoffset local ury = paperheight - topoffset -- boxes can be cached local function extrabox(WhatBox,offset,always) if offset ~= 0 or always then addtopageattributes(WhatBox, pdfarray

[NTG-context] textext within ConTeXt

2019-03-03 Thread Mohammad Hossein Bateni
w statement works perfectly. But the second one throws out errors and complains as follows: .test.tex: ! Missing number, treated as zero \number " & "12" & " \romannumerals #1->\clf_romannumerals \numexpr #1

Re: [NTG-context] two different outputs.

2019-01-01 Thread Jeong Dal
, incrementnumber=list] \startproduct Danggok \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definestructureconversionset[backpart:pagenumber][][numbers] \startsectionblockenvironment[frontpart] \setupuserpagenumber

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Pablo Rodriguez
t; of the header? Hi Huseyin, this should work: \setuppagenumbering[alternative=doublesided, location=] \setupheadertexts[center] %~ \setupheadertexts[\doifoddpageelse{odd}{even}] \starttext \dorecurse{10}{\Romannumerals{\recurselevel}\page} \stoptext Uncomment the commented line

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
ext \NUM{Numbered Text} } \stopTEXpage === How can one make a conversion of the numerals output by the \newcount? That is, how so we replace the default U+0030-U+0039 digits (0 1 2 3..) with some defined conversion (e.g., \romannumerals)? Is there a ConTeXt way to setup new counts so that they

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Wolfgang Schuster
by the \newcount? That is, how so we replace the default U+0030-U+0039 digits (0 1 2 3..) with some defined conversion (e.g., \romannumerals)? Is there a ConTeXt way to setup new counts so that they can automatically use the conversion mechanism? \definecounter[idris]%[numberconversio

[NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
me defined conversion (e.g., \romannumerals)? Is there a ConTeXt way to setup new counts so that they can automatically use the conversion mechanism? See attached. Thanks in advance for your wisdom! Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State Unive

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
l] \startstandardmakeup \midaligned{\CruxFramed{\ssd OpenStack}} \vfil \stopstandardmakeup \stopBG \startfrontmatter \setuplayout[reset] \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \completecontent %\completelistoffigures %\completelistof

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
wing in the colums > > Sorry, but overflowing is normal here, the formula has too many data to > fit in that column width. > > I would discourage the use of columns to create the booklet. > > My advice would be to compose the standard text and then impose the pages: >

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
here, the formula has too many data to fit in that column width. I would discourage the use of columns to create the booklet. My advice would be to compose the standard text and then impose the pages: \starttext \dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}} \section{\TeX}\input knu

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
\startbodymatter \startchapter[title={The First Numerals Chapter}] \startsection[title={The First Caps-Romannumerals Section}] \input knuth \startsubsection[title={The First characters Subsection}] \input knuth \stopsubsection \stopsection \startsection[title={The Second Caps

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
Hi Pablo, " You have to define a new conversion set and use it for the prefix segments " It seems to me that's what I did : \definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers] \setupheads [sectionconversionset

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
> Remark 1.2 > Remark 1.3 > > Thanks > Fabrice > > % > \definestructureconversionset > [structure] > [numbers, Romannumerals, numbers, numbers, numbers] > [numbers] > > \setupheads [sectionconversionset=structure

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
Hi, I have simplified the code, but I get : Remark I.1. Remark I.2. Remark I.3. instead : Remark 1.1. Remark 1.2 Remark 1.3 Thanks Fabrice % \definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers

[NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
[{\getmarking[section]}][pagenumber] [{\getmarking[chapter]}][pagenumber] \setuppagenumbering[alternative=,location=] \definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers] \setupheads [sectionconversionset=structure

[NTG-context] Some questions about my document

2017-08-24 Thread Fabrice Couvreur
, Romannumerals, numbers, numbers, numbers] [numbers] \setupheads [sectionconversionset=structure] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, alternative=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=bold, prefix=chapter, way=bychapter, conversion=numbers

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
][][romannumerals] to my environment file. I didn't take this into accout, as I initially didn't plan on using roman numbers. But right now this seems the only proper solution to the wrong numbering in my case. I attached an explanation document to show you what I mean. If you still wish for the source

Re: [NTG-context] \mainlanguage[pe]

2016-08-01 Thread Mohammad Hossein Bateni
gives the 'missing number' error. > > % \mainlanguage[en] > \romannumerals{\currentdate[day]} > > 1. The \currentdate command isn’t expandable and is therefore not expanded > when you use it as argument for another command. > > 2. The \romannumerals commands expects a number

Re: [NTG-context] A new problem in old TOC

2016-07-18 Thread Ursula Hermann
in old TOC <mailto:ursula.herm...@univie.ac.at> Ursula Hermann 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userp

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] The two se

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
, alternative=c, interaction=all] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
ersion=romannumerals] \setcounter[userpage][2] \startchapter [title={Ursula Hermann \indenting[yes, next] Danksagung}] \stopchapter \startchapter [title={Bildbeschreibung der Cover-Grafik}] \stopchapter \startchapter [title={Einleitung:"Entwicklung" behindern?

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
hapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionre

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [aligntitle=yes, alternative=c, interaction=all] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionresetset=, conversion=, number

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Wolfgang Schuster
Mohammad Hossein Bateni <mailto:bat...@gmail.com> 7. Juli 2016 um 16:31 Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} 1. The \currentdate command isn’t expandable and is therefore not ex

Re: [NTG-context] \mainlanguage[pe]

2016-07-07 Thread Mohammad Hossein Bateni
Thanks, Wolfgang! BTW why doesn't the following work? it gives the 'missing number' error. % \mainlanguage[en] \romannumerals{\currentdate[day]} On Thu, Jul 7, 2016 at 10:02 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Mohammad Hossein Bateni <bat...@gmail.com>

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! At least the example is this. Now it works perfekt: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Danksagung}] \stopchapter \startchapter [title={Bildbeschreibung der Cover-Grafik

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! I have it. I found an mail on the mailinglist . This works. It is: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \startpart [title={Danksagung}] \stoppart \startchapter [title={Bildbeschreibung der Cover

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
ula Hermann <ursula.herm...@univie.ac.at> wrote: > > Hello Wolfgang! > > I have now written as you told me. > \starttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der C

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
tarttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der Cover-Grafik}] > \setupuserpagenumber[numberconversion=numbers] > \startchapter > [title={Einleitung:"Entwicklung" behindern?}] > \stopte

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Ursula Hermann
Hello Wolfgang! I woud like to change the counter because there is a wrong pagenumber at the numbers, not at the romannumerals . I have compiled but I always have 2 instead of 6.This ist the pagenumber I need. Thanks Uschi Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 28. Juni 2016 um 14:15 Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
, romannumerals and numbers <mailto:ursula.herm...@univie.ac.at> Ursula Hermann 24. Juni 2016 um 15:53 Hello evrybody! I need in a Toc pagenumberings with romannumrals and numbers. I have written this one: \mainlanguage[de] \setupinteraction[state=start] % don't

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Wolfgang Schuster
bering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re looking for the \setupuserpagenumber command (but \setuppagenumber

[NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Ursula Hermann
,subsection,subsubsect ion}] \setupuserpagenumbering[conversion=romannumerals] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
, pagenumber=no, style=\itxx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \completecontent \dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}} \dorecurse{10}{\section{Section}\input zapf\par

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 19. Januar 2016 um 10:55 Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] Use \setupheadertexts[pagenumber] or \setupheade

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Here is my code for the header: \setupheadertexts [{\righttoleft\getmarking[chapter]}][{\romannumerals}] [{\pagenumber}][{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
r: > > \setupheadertexts > [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] > [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] > > Use > > \setupheadertexts[pagenumber] > > or &

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Otared Kavian
ode for the header: >> >> \setupheadertexts >> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}] >> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}] > Use > > \setupheadertexts[pagenumber] > > or > > \setupheadertexts[\userpagenumber] > >

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
> > > Hello Wolfgang, > > Thanks for helping out again. > > i tried your code : > > > \setupheadertexts[pagenumber] >[{\righttoleft\getmarking[chapter]}][{\romannumerals}] >[{\pagenumber}][{\righttoleft\getmarking[chapter]}] > &

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
ft\getmarking[chapter]}][{\romannumerals}] [{\pagenumber}][{\righttoleft\getmarking[chapter]}] \setuppagenumbering[ alternative=doublesided, location=, ] It did not work, no page numbers appeared(blank) I

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
}, % conversion=romannumerals, left={--~}, right={~--}, ] \setupbodyfont[Arabic,18pt] \setupinterlinespace[line=42pt] \setupheads[number=no] \setuphead[chapter] [style=\bfd,before=,after=\blank,alternative=middle,grid=both] \setuphead[section][style=\bfc,before=\blank,after=,grid=both

Re: [NTG-context] getnumber and Roman numerals

2015-12-18 Thread Hans Hagen
. Is it possile to convert \getnumber output to roman numerals? \romannumerals{123} \Romannumerals{123} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
age[cs] \setuppapersize[B5] \setuplayout[header=0cm, footer=1cm] \setuppagenumbering[alternative=doublesided, location={footer, right}, style=italic] % page numbering \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][n

Re: [NTG-context] tex error in curent beta

2015-10-24 Thread Jan Tosovsky
e MWE: > > > > \setuphead[chapter][ > >alternative=middle, > >before={\blank[force,10mm]}, > >after={\blank[1*line]}, > >style=\bfc, > >numberstyle={\kerncharacters[0.125]\bfa}, > >numbercommand=\groupedcommand{}{\blank[4mm]}, &g

Re: [NTG-context] tex error in curent beta

2015-10-22 Thread Jan Tosovsky
>numberstyle={\kerncharacters[0.125]\bfa}, >numbercommand=\groupedcommand{}{\blank[4mm]}, >sectionstopper={.}, >conversion=Romannumerals, > ] > > \define[1]\ChapterListNumbercommand > {\simplealignedbox{\listparameter{width}}{flushright}{#1}} > >

Re: [NTG-context] tex error in curent beta

2015-10-16 Thread Jan Tosovsky
te MWE: \setuphead[chapter][ alternative=middle, before={\blank[force,10mm]}, after={\blank[1*line]}, style=\bfc, numberstyle={\kerncharacters[0.125]\bfa}, numbercommand=\groupedcommand{}{\blank[4mm]}, sectionstopper={.}, conversion=Romannumerals, ] \define[1]\ChapterListNumber

  1   2   3   4   >